ColumnDefinition Class

An "<Column>" element from an SLK Settings XML file, i.e. an XML file with schema "urn:schemas-microsoft-com:sharepoint-learning-kit:settings".

Namespace: Microsoft.SharePointLearningKit

Assembly: Microsoft.SharePointLearningKit.dll

Syntax
C#

public class ColumnDefinition

Properties
Name Description
Ð CellFormat

The value of the "CellFormat" attribute. This is a .NET format specifier that may be used (depending on RenderAs) to format the text values in this column.

Ð LineNumber

The line number of the "<ColumnDefinition>" element with the XML file.

Ð NullDisplayString

The value of the "NullDisplayString" attribute. This string is displayed in a column if the value in the LearningStore view column specified by ViewColumnName is NULL (unless overridden by RenderAs).

Ð RenderAs

The value of the "RenderAs" attribute. Specifies how values in this column are rendered.

Ð Title

The value of the "Title" attribute. This is the human-readable label of the column.

Ð ToolTipFormat

The value of the "ToolTipFormat" attribute. This String.Format formatting specification that may include "{0}" (optionally with additional formatting parameters) indicating where the column value should included (if at all), and how it should be formatted. null if not provided.

Ð ViewColumnName

The value of the "ViewColumnName" attribute. This is the name of the first (and possibly only) LearningStore column (of the view specified by QueryDefinition.ViewName) that's used to the text values of this column. (The RenderAs property determines how rendering occurs, and which columns.)

Ð ViewColumnName2

The value of the "ViewColumnName2" attribute. This is the name of the second LearningStore column (of the view specified by QueryDefinition.ViewName) that may be used (depending on RenderAs) to render text values of this column.

Ð ViewColumnName3

The value of the "ViewColumnName3" attribute. This is the name of the third LearningStore column (of the view specified by QueryDefinition.ViewName) that may be used (depending on RenderAs) to render text values of this column.

Ð Wrap

The value of the "Wrap" attribute: true if values in this column can wrap to the next line, false if not.